<?php
/**************************************************************************
 * Naanal PHP Framework, Simple, Efficient and Developer Friendly
 * Ver 3.0, Copyright (C) <2010>  <Tamil Amuthan. R>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ************************************************************************/
?>
<script type="text/javascript">
$(function() {
    $("#frmrole").validate({
        errorPlacement: function(error, element) {
        jQuery(element).css("border-color", "red");
        }
    });
});
</script>
<form id="frmrole" action="<?php echo $home_page["value"]; ?>">
    <input type="hidden" name="<?php echo $url_module_param; ?>" value="role" />
    <input type="hidden" name="<?php echo $url_action_param; ?>" value="insert" />
		<table id="tbl_role">
    <tr>
    <td><font color='#ff0000'>*</font></td><td>Name</td>
    <td><input type="text" id="name" name="name" class="required" value="" /></td>
    <tr><td colspan="3"><center><input type="submit" value="Submit" /></center></td></tr>
    </tr>
    </table>    </form>